package com.zhang.responsibility;

//小组长类
public class GeneralManager extends Handler {

    public GeneralManager() {
        super(Handler.NUM_THREE,Handler.NUM_SEVEN);
    }

    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName()+"leave" +leave.getNum()+"天,请假的原因："+leave.getContent());
        System.out.println("总经理，批准同意");

    }
}
